package cn.broadsense.biz.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

/**
 * 点位标签树
 *
 * @author bs
 */
@ApiModel("点位标签树")
@Data
public class ChannelTagTreeDto implements Serializable {
    private static final long serialVersionUID = -6535929408337662009L;
    /**
     * id
     */
    private Long id;

    /**
     * 标签名称
     */
    @ApiModelProperty("标签名称")
    private String name;

    /**
     * 标签编码
     */
    @ApiModelProperty("标签编码")
    private String code;

    /**
     * 父类编码
     */
    @ApiModelProperty("父类编码")
    private String parentCode;

    /**
     * 全路径编码
     */
    @ApiModelProperty("全路径编码")
    private String fullCode;

    /**
     * 标签点位
     */
    @ApiModelProperty("标签点位数量")
    private Integer channelQty;
    @ApiModelProperty("标签3d点位数量")
    private Integer channelThirdQty;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("标签类型")
    private String tagType;
    @ApiModelProperty("标签规则ID")
    private Long tagRuleId;
    @ApiModelProperty("标签名称")
    private String tagRuleName;


    @ApiModelProperty("子节点")
    private List<ChannelTagTreeDto> childrenList = new LinkedList<>();
    
}